package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @author Rocky
 * @version 1.0.0
 * @classname AdvertiserIds
 * @description <br>广告主列表对应实体类</br>
 * @date 2019-11-01 11:36:12
 * @email jintaozhao@qq.com
 */
public class AdvertiserIds extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 广告主ID
	 */
	@Excel(name = "广告主ID")
	private Long id;

	/**
	 * 代理商广告主ID
	 */
	@Excel(name = "代理商广告主ID")
	private Long pId;

	/**
	 * 是否已同步
	 */
	@Excel(name = "是否已同步")
	private Integer isSync;

	/**
	 * 同步时间
	 */
	@Excel(name = "同步时间")
	private Date syncTime;

	/**
	 * 更新人
	 */
	@Excel(name = "更新人")
	private String updateUser;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPId() {
		return pId;
	}

	public void setPId(Long pId) {
		this.pId = pId;
	}

	public Integer getIsSync() {
		return isSync;
	}

	public void setIsSync(Integer isSync) {
		this.isSync = isSync;
	}

	public Date getSyncTime() {
		return syncTime;
	}

	public void setSyncTime(Date syncTime) {
		this.syncTime = syncTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("pId", getPId())
				.append("isSync", getIsSync())
				.append("syncTime", getSyncTime())
				.append("updateUser", getUpdateUser())
				.toString();
	}
}
